package cheme.Application;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class Perspective implements IPerspectiveFactory 
{
	public void createInitialLayout(IPageLayout layout)
	{
		layout.setEditorAreaVisible(true);
		
//		String editorArea = layout.getEditorArea();
//		layout.addView(ChemeProjectView.ID,  IPageLayout.LEFT, 0.25f, editorArea);
//		layout.addView("org.eclipse.ui.views.ContentOutline",  IPageLayout.BOTTOM, 0.33f, ChemeProjectView.ID);
//		layout.addShowViewShortcut(ChemeProjectView.ID);
//		layout.addView(EquationsView.ID,  IPageLayout.BOTTOM, 0.33f, "org.eclipse.ui.views.ContentOutline");
		
		layout.addPlaceholder("org.eclipse.ui.console.ConsoleView",  IPageLayout.BOTTOM, 0.75f, layout.getEditorArea());
	}
}
